package cn.com.gas.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cn.com.gas.entity.GasStaytimeResultEntity;

/**
 * 加油明细
 * 
 * @author shaochangyang
 * @email l2l84o7o5@live.com
 * @date 2024-03-24 01:14:06
 */

@DS("sharding-year-month")
public interface GasStaytimeResultMapper extends BaseMapper<GasStaytimeResultEntity> {

	GasStaytimeResultEntity groupYearMonth();

	List<GasStaytimeResultEntity> groupYearMonthOline(String taxorgcode);

	List<GasStaytimeResultEntity> groupYearMonthDiesel(String taxorgcode);

	List<GasStaytimeResultEntity> listLimit(@Param("stationinfoIdList")List<String> stationinfoIdList, @Param("staytime")GasStaytimeResultEntity gasStaytimeResult);

	List<GasStaytimeResultEntity> listCount(@Param("stationinfoIdList")List<String> stationinfoIdList, @Param("staytime")GasStaytimeResultEntity gasStaytimeResult);
	
}
